package com.buer.storage.business.service;


import com.buer.storage.business.dto.CorderDto;
import com.buer.storage.business.dto.CorderStorageDto;
import com.buer.storage.business.dto.StockDto;

import java.util.List;

public interface CorderService {
    //增加入库
    int insertCorder(CorderStorageDto corderStorageDto);

    //查询入库表
    List<CorderStorageDto> findCorderAllById(int checkId);

    //查询所有盘点单
    List<CorderDto> findCorderAll();

    //根据盘点单ID删除所有盘点信息
    int deleteCorderAllById(Integer checkId);

    //更新调拨商品
    int updateCorderdetails(CorderStorageDto corderStorageDto);

    List<StockDto> findStockByWarehouseId(Integer warehouseId);

    List<StockDto> findStockByProdArea(Integer prodArea, Integer warehouseId);

    List<StockDto> findStockByProdDepart(Integer prodDepart, Integer prodArea, Integer warehouseId);

    List<StockDto> searchStock(String prodCode, String prodName, Integer prodArea, Integer prodDepart);
}
